import request from '@/utils/request'

//删除乐迷
export function deleteFan(id) {
    return request({
        url: `/fan/delete/${id}`,
        method: 'delete'
    })
}

//分页获取乐迷信息
export function getPageByCondition(page, size, keyword) {
    return request({
        url: `/fan/getPageByCondition/${page}/${size}`,
        method: 'get',
        params: {keyword}
    })
}